import Vue from 'vue'
import Vuex from 'vuex'

 
import app from './module/app'
import errorLog from './module/errorLog'
import permission from './module/permission'
import tagsView from './module/tagsView' 
import getters from './getters'

import { user } from "@/store/module/user"
// import { router } from "@/store/module/router"
// import VuexPersistence from 'vuex-persist'

Vue.use(Vuex)


const store = new Vuex.Store({
    modules: {
        app,
        errorLog,
        permission,
        tagsView, 
        user,
        // router
    },
    getters
  })
  
export default store
 